<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>背景</title>
    <style>
        .clip-img {
            width: 130px;
            height: 130px;
            position: relative;
            margin: 100px auto;
            background: url("images/bg-flowers.jpg") no-repeat;
        }
        .clip-img:before,.clip-img:after{
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            padding: 30px;
            box-sizing: border-box;
            background: url("images/bg-flowers.jpg") no-repeat;
        }

        .clip-img:after{
            left: 50px;
            background-clip: content-box;
        }

        .clip-img:before{
            background-image: none;
            background-color: #fff;
            background-clip: content-box;
        }


    </style>
</head>
<body>
<div class="clip-img">
</div>
</body>
</html>